package org.apache.elasticresource.api;

import java.io.Serializable;

/**
 * @类名: BusinessExecution
 * @说明: 业务执行
 *        业务执行命令，执行参数
 *
 * @author   leehom
 * @Date	 2024年7月25日 下午5:22:02
 * 修改记录：
 *
 * @see 	 
 */
public class BusinessExecution implements Serializable {

    private static final long serialVersionUID = 3503873489582917227L;
	// --------------------------------------------------------------------------------------------
	/** 用户自定义*/
	private String commandKey;
	/** 用户自定义*/
	private String command;
	/** 序列化的参数*/
	private String serArgs;
	/** 资源key，用户定义，获取对应的ResourceProfile*/
	private String resourceKey;
	
	public BusinessExecution(String commandKey, String command, String serArgs, String resourceKey) {
		this.commandKey = commandKey;
		this.command = command;
		this.serArgs = serArgs;
		this.resourceKey = resourceKey;
	}
	
	public String getCommandKey() {
		return commandKey;
	}
	public void setCommandKey(String commandKey) {
		this.commandKey = commandKey;
	}
	public String getCommand() {
		return command;
	}
	public void setCommand(String command) {
		this.command = command;
	}
	public String getSerArgs() {
		return serArgs;
	}
	public void setSerArgs(String serArgs) {
		this.serArgs = serArgs;
	}
	public String getResourceKey() {
		return resourceKey;
	}
	public void setResourceKey(String resourceKey) {
		this.resourceKey = resourceKey;
	}
  
}
